package cn.edu.qzit.linpq.base.entity;

import javax.persistence.Id;
import javax.persistence.MappedSuperclass;
import java.util.Date;

/**
 * ClassName : cn.edu.qzit.linpq.base.entity.BaseEntity
 * Desc : BaseEntity 用于规范所有的实体对象
 * 该类未完全实现，目前暂停启用
 *
 * @author : LINPQ
 * @date : 2022/6/18 15:20
 */
@MappedSuperclass
public class BaseEntity {
    @Id
    protected String id;
    protected String createUser;
    protected String updateUser;
    protected Date createTime;
    protected Date updateTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
